package com.wlyy.his.infrastructure.common;

/**
 * @author: 10097
 * @Date: 2021/8/26 14:13
 * @Description:
 */
public interface AuthCommon {
    /**
     * 需要拦截的路径
     */
    String[] AUTH_PATH = new String[]{"/user", "/doctor", "/platform"};
    /**
     * cookie中token的key
     */
    String PRE_COOKIE_NAME = "tk";
    /**
     * redis中缓存的token路径
     */
    String CACHE_USER_REDIS_KEY = "cache:user:token:";
    /**
     * token的有效期
     */
    Long TOKEN_CACHE_TIME = 30 * 24 * 3600L;
}
